<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 语法</title>
</head>
<body>
<h2>JavaScript 表达式</h2>

<p>表达式计算为值。</p>

<p id="demo"></p>
<p id="demo1"></p>

<script>
  document.getElementById("demo").innerHTML = 6 * 10;
  document.getElementById("demo1").innerHTML="Bill"+""+"Gates";
</script>

</body>
</html>